
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '加盟推广',
    enableValidate: true
})

@Injectable()
export class JmtgTcl8ComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'merchantCode',
        name: "{{merchantCode_3ca385f8_rzi8}}",
        binding: 'merchantCode',
        updateOn: 'blur',
        defaultI18nValue: '参与商户编号',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    merchantCode: FormControl;

    @NgFormControl({
        id: 'merchantName',
        name: "{{merchantName_718e88bb_e3c8}}",
        binding: 'merchantName',
        updateOn: 'blur',
        defaultI18nValue: '参与商户名称',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    merchantName: FormControl;

    @NgFormControl({
        id: 'adminstrator',
        name: "{{adminstrator_f3478ce9_56hl}}",
        binding: 'adminstrator',
        updateOn: 'blur',
        defaultI18nValue: '商户管理员',
        validRules: [
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    adminstrator: FormControl;

}